package backstage.app.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import backstage.app.entity.AdminSys;
import backstage.app.mapper.AdminSysMapper;
import backstage.app.service.AdminSysService;

@Service
public class AdminSysServiceImpl extends ServiceImpl<AdminSysMapper,AdminSys> implements AdminSysService {

	@Autowired
	private AdminSysMapper adminSysMapper;
	@Override
	public int deleteByPrimaryKey(Integer aid) {
		 
		return adminSysMapper.deleteByPrimaryKey(aid);
	}

	@Override
	public int insertSelective(AdminSys adminSys) {
		 
		return adminSysMapper.insertSelective(adminSys);
	}

	@Override
	public AdminSys selectByPrimaryKey(Integer aid) {
		 
		return adminSysMapper.selectByPrimaryKey(aid);
	}

	@Override
	public int updateByPrimaryKey(AdminSys adminSys) {
		 
		return adminSysMapper.updateByPrimaryKey(adminSys);
	}

}
